package com.example.course.service;

import com.example.course.bean.Course;
import com.example.course.bean.Student;

import java.util.List;

public interface StudentService {
    Student getStudent(Student student);
    List<Student> getStudents();
    int updateStudent(Student student);
    int deleteStudent(int id);
    int insertStudent(Student student);
    List<Student> getStudentById(int teacherId,int courseId);
    int applicationCourse(int courseId,int studentId,int teacherId);
    List<Course> getCourseByStudent(int studentId);
    int deleteCourseByStudent(int studentId,int courseId);
    Student getStudentByStudentId(int id);
    List<Student> getStudentByTeacherId(int teacherId);
}
